package com.spring.dao;

import com.spring.domain.Account;

import java.util.List;

public interface AccountDao {
    void save(Account account);

    Account findById(int id);
    void update(Account account);

    void deleteById(int id);

    List<Account> findAll();

    List<Account> findAllWithAlias();

    void update(String name, double money);
}
